package com.fozu.common.pojo;

import java.util.Date;



import com.fasterxml.jackson.annotation.JsonFormat;

public class BaseEntity {
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createDate;		   //创建时间
	private String createBy;		   //创建者
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date updateDate;		   //更新时间
	private String updateBy;		   //更新者
	private int delFlag;			   //删除标记 0--正常 1--删除
	
	//数据标记常量
	public static int DEL_FLAG_NORMAL =0;  // 正常
	public static int DEL_FLAG_DELETE =1; //已删除
	public Date getCreateDate() {
		return createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public int getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(int delFlag) {
		this.delFlag = delFlag;
	}
	
	

}
